<style type="text/css">

#wview{
background-color:#F4F4F4;
}
#table1{
background-color:#FFF8E5;
padding:2px 2px 2px 2px

}
#table1 td{

width:110;
height:150;
vertical-align:top;
text-align:center;
color:#FF6407;
font-size: 12px;


}

</style>
<div id='wview'>
<table cellpadding="0" cellspacing="0" width="100%"
	style="margin-top:5px">
	<tr>
		<td id='content-header-left' style="text-align:center" height='29px'>Wall Papers</td>
		<td id='content-header-center' style="text-align:center"><?=ucfirst($categeoryname)?></td>
		<td id='content-header-right'></td>

	</tr>
	<tr>
		<td id="gossip_left_right" bgcolor="#FF9853" valign="top">
		<table>
		
	   <?php foreach ($categeories->result() as $item ) {
			?>
			  <tr>
		       <td><img src="<?=base_url();?>assets/imgs/button-img.gif" /></td>
			   		
			 <td class="sidelinks"><a
				href="<?=base_url();?>wallpapers/details/<?=$item->id?>"
				><?=ucfirst(trim_name($item->catname,15))?></a></td>
		     		 </tr>

			
			<?}?>	
			
		  </table>
		
		</td>
		
		 <td valign="top">
		     <table border="0" width="100%" bgcolor="#FFF8E5" style="padding-top:10px;">
		       <tr>
		         <td colspan="2" id="telugu_cinema" align="center">List of WallPapers Categorized by Name</td>
		       </tr>
		     	 <tr>
		      	<?php $count=0; foreach ($subcategeories as $Key => $value):?>
                	<td  width="50%">
                	 <div id="telugucinema-td">
                	 	<?php  $count++; echo $Key; ?>
                	 </div>
                	 <div>
                	 	<ul class="telugutrailers">
	           			<?php foreach ($value as $wallpapers):?>
	              			<li><a href="<?=base_url();?>wallpapers/display/<?=$wallpapers['id']?>"><?=ucwords($wallpapers['catname'])?></a></li>
	              		<? endforeach; ?>
	        		 	</ul>
                	 </div>
                	 <? if($count%2==0){?></td></tr> <? } endforeach; ?>
              
				
			<tr>
			</tr>	
					 
            
			
			<tr>
				<td height='20px' colspan='4'
					style="background-color: #CCC7CB; text-align: right;">
					</td>
			</tr>



		</table>
		
		
		
		</td>
		<td></td>
	</tr>

</table>
</br>
</br>
</div>